<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title><?php echo $this->get('config.site.title', 'MonAdmin管理系统'); ?></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit">
    <!-- Loading Bootstrap -->
    <link href="<?php echo $this->assets('/static/css/backend.css', ['monAdmin' => $config['site']['version']]);?>" rel="stylesheet">
    <!--[if lt IE 9]>
        <script src="<?php echo $this->assets('/static/js/html5shiv.min.js');?>"></script>
        <script src="<?php echo $this->assets('/static/js/respond.min.js');?>"></script>
    <![endif]-->
    <?php $this->putBlock('css');?>
    <!-- RequireJS 配置信息 -->
    <script type="text/javascript">
        var require = {
            config: JSON.parse('<?php echo $configJson; ?>'),
            assets: JSON.parse('<?php echo $assetsConfigJson; ?>')
        };
    </script>
</head>

<body class="inside-header inside-aside <?php echo $container->request->params('dialog') ? 'is-dialog' : ''; ?>">
    <div id="main" role="main">
        <div class="tab-content tab-addtabs">
            <div id="content">
                <div class="row">
                    <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                        <?php if(!$container->request->params('dialog') && !$config['multiplenav']): ?>
                            <!-- RIBBON -->
                            <section id="ribbon">
                                <div class="breadcrumb pull-left">
                                    <ol class="breadcrumb">
                                        <?php foreach($breadcrumb as $item): ?>
                                        <li>
                                            <a href="javascript:;"><?php echo $item['title']?></a>
                                        </li>
                                        <?php endforeach;?>
                                    </ol>
                                </div>
                            </section>
                            <!-- END RIBBON -->
                        <?php endif; ?>
                        <div class="content">
                            <?php $this->content(); ?>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <?php $this->putBlock('js');?>
    <script src="<?php echo $this->assets('/static/js/require.min.js');?>" data-main="<?php echo $this->assets('/static/js/require-admin.js', ['v' => $config['site']['version']]);?>"></script>
</body>

</html>